package com.thp.proxy.model;


public class Person implements  Eat {


    private String name;

    public Person(String name) {
        this.name = name;
    }


    @Override
    public void haveLunch() {
        System.out.println(this.name + "的午餐是: ");
        System.out.println("二两白米饭外加一碗免费汤");
    }

    @Override
    public void haveDinner() {
        System.out.println(this.name + "的晚餐是: ");
        System.out.println("粗茶淡饭");
    }
}
